package org.jeecg.modules.solitaire_app.app.service;

import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.solitaire_app.app.entity.VO.OilDatasVO;
import org.jeecg.modules.solitaire_app.app.entity.YsyOilRawMaterialPrice;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * @Description: 油原料
 * @Author: jeecg-boot
 * @Date:   2023-10-16
 * @Version: V1.0
 */
public interface IYsyOilRawMaterialPriceService extends IService<YsyOilRawMaterialPrice> {

    Result<OilDatasVO> getOilNewData(Map<String,Object> map);

    Result<List<OilDatasVO>> getOilDatasVOs(Map<String,Object> map);

    YsyOilRawMaterialPrice getOneOilPrice(int oriId,int refineryId);

    YsyOilRawMaterialPrice getOneOilPriceByRefId(int refineryId);
}
